<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@taglib prefix="s" uri="/struts-tags" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <title>详细运输单列表</title>
    <META http-equiv=Content-Type content="text/html; charset=utf-8">

		<STYLE type=text/css>
a {
	text-decoration: none;
	COLOR: white
}

.a_a {
	text-decoration: none;
	COLOR: black
}

.gridView {
	BORDER-RIGHT: #bad6ec 1px;
	BORDER-TOP: #bad6ec 1px;
	BORDER-LEFT: #bad6ec 1px;
	COLOR: #566984;
	BORDER-BOTTOM: #bad6ec 1px;
	FONT-FAMILY: Courier New;
	OVERLOW-X: AUTO;
}

.gridViewHeader {
	BORDER-RIGHT: #bad6ec 1px solid;
	BORDER-TOP: #bad6ec 1px solid;
	BACKGROUND-IMAGE: url(../images/bg_th.gif);
	BORDER-LEFT: #bad6ec 1px solid;
	LINE-HEIGHT: 27px;
	BORDER-BOTTOM: #bad6ec 1px solid
}

.gridViewItem {
	BORDER-RIGHT: #bad6ec 1px solid;
	BORDER-TOP: #bad6ec 1px solid;
	BORDER-LEFT: #bad6ec 1px solid;
	LINE-HEIGHT: 32px;
	BORDER-BOTTOM: #bad6ec 1px solid;
	TEXT-ALIGN: center
}

.cmdField {
	BORDER-RIGHT: 0px;
	BORDER-TOP: 0px;
	BACKGROUND-IMAGE: url(../images/bg_rectbtn.png);
	OVERFLOW: hidden;
	BORDER-LEFT: 0px;
	WIDTH: 67px;
	COLOR: #364c6d;
	LINE-HEIGHT: 27px;
	BORDER-BOTTOM: 0px;
	BACKGROUND-REPEAT: repeat-x;
	HEIGHT: 27px;
	BACKGROUND-COLOR: transparent;
	TEXT-DECORATION: none
}

.buttonBlue {
	BORDER-RIGHT: 0px;
	BORDER-TOP: 0px;
	BACKGROUND-IMAGE: url(../images/bg_button_blue.gif);
	BORDER-LEFT: 0px;
	WIDTH: 78px;
	COLOR: white;
	BORDER-BOTTOM: 0px;
	BACKGROUND-REPEAT: no-repeat;
	HEIGHT: 21px body {     font :   9px
}

}
html {
	overflow-x: auto;
	overflow-y: auto;
}
</STYLE>
		<link href="../login.files/public.css" rel="stylesheet"
			style="text/css">

		<META content="MSHTML 6.00.2900.5848" name=GENERATOR>
  </head>
  
  <body style="BACKGROUND-POSITION-Y: -120px; BACKGROUND-IMAGE: url(../images/bg.gif); BACKGROUND-REPEAT: repeat-x">
     <SCRIPT type=text/javascript>
//<![CDATA[
var theForm = document.forms['aspnetForm'];
if (!theForm) {
    theForm = document.aspnetForm;
}
function __doPostBack(eventTarget, eventArgument) {
    if (!theForm.onsubmit || (theForm.onsubmit() != false)) {
        theForm.__EVENTTARGET.value = eventTarget;
        theForm.__EVENTARGUMENT.value = eventArgument;
        theForm.submit();
    }
}
function turnpage(){
	var curPage=document.getElementById("page").value;
	window.location.href="transportAction_gettransportlist.action?bean.pageon="+curPage;
}
//]]>
</SCRIPT>

<DIV>
			<TABLE height="100%" cellSpacing=0 cellPadding=0 width="200%"
				border=0>
				<TBODY>
					<TR
						style="BACKGROUND-IMAGE: url(../images/bg_header.gif); BACKGROUND-REPEAT: repeat-x"
						height=47>
						<TD width=10>
							<SPAN
								style="FLOAT: left; BACKGROUND-IMAGE: url(../images/main_hl.gif); WIDTH: 15px; BACKGROUND-REPEAT: no-repeat; HEIGHT: 47px">
							</SPAN>
						</TD>
						<TD>
							<SPAN
								style="FLOAT: left; BACKGROUND-IMAGE: url(../images/main_hl2.gif); WIDTH: 15px; BACKGROUND-REPEAT: no-repeat; HEIGHT: 47px">
							</SPAN>
							<SPAN
								style="PADDING-RIGHT: 10px; PADDING-LEFT: 10px; FLOAT: left; BACKGROUND-IMAGE: url(../images/main_hb.gif); PADDING-BOTTOM: 10px; COLOR: white; PADDING-TOP: 10px; BACKGROUND-REPEAT: repeat-x; HEIGHT: 47px; TEXT-ALIGN: center; 0 px: ">
								   <a href="transportAction_inserttransport.action">返回</SPAN><SPAN
								style="FLOAT: left; BACKGROUND-IMAGE: url(../images/main_hr.gif); WIDTH: 60px; BACKGROUND-REPEAT: no-repeat; HEIGHT: 47px"></SPAN>
						</TD>
						<TD
							style="BACKGROUND-POSITION: 50% bottom; BACKGROUND-IMAGE: url(../images/main_rc.gif)"
							width=10></TD>
					</TR>
					<TR>
						<TD style="BACKGROUND-IMAGE: url(../images/main_ls.gif)">
						</TD>
						<TD
							style="PADDING-RIGHT: 10px; PADDING-LEFT: 10px; PADDING-BOTTOM: 10px; COLOR: #566984; PADDING-TOP: 10px; BACKGROUND-COLOR: white"
							vAlign=top align="center">
							<DIV>
								<TABLE class=gridView id=ctl00_ContentPlaceHolder2_GridView1
									style="WIDTH: 100%; BORDER-COLLAPSE: collapse" cellSpacing=0
									rules=all border=1>
									<TBODY>
										<form action="transportAction_gettransportlist.action" method="post">
											运输单号查询：
											<input type="text" name="msn" />
											员工姓名查询：
											<input type="text" name="mstaff" />
											<input type="submit" value="查询">
										</form>
										<TR>
											<TH class=gridViewHeader style="WIDTH: 50px" scope=col>
												&nbsp;
											</TH>
											<TH class=gridViewHeader scope=col>
												运输单号
											</TH>
											<TH class=gridViewHeader scope=col>
												出库单号
											</TH>
											<TH class=gridViewHeader scope=col>
												操作人员
											</TH>
											<TH class=gridViewHeader scope=col>
												收件人
											</TH>
											<TH class=gridViewHeader scope=col>
												收件人电话
											</TH>
											<TH class=gridViewHeader scope=col>
												运输日期
											</TH>
											<TH class=gridViewHeader scope=col>
												快递公司
											</TH>
											<TH class=gridViewHeader scope=col>
												发货日期
											</TH>
											<TH class=gridViewHeader scope=col>
												计划到达日期
											</TH>
											<TH class=gridViewHeader scope=col>
												实际到达日期
											</TH>
											<TH class=gridViewHeader scope=col>
												发货地址
											</TH>
											<TH class=gridViewHeader scope=col>
												收货地址
											</TH>
											<TH class=gridViewHeader scope=col>
												备注
											</TH>
											<TH class=gridviewHeader scope=col colspan="4">
												操作
											</TH>
										</TR>
										<s:iterator value="transportList">
											<TR>
												<TD class=gridViewItem style="WIDTH: 50px">
													<IMG src="../images/bg_users.gif">
												</TD>
												<TD class=gridViewItem>
													<s:property value="sn" />
												</TD>
												<TD class=gridViewItem>
													<s:property value="library.sn" />
												</TD>
												<TD class=gridViewItem>
													<s:property value="staff.name" />
												</TD>
												<TD class=gridViewItem>
													<s:property value="library.order.user.name" />
												</TD>
												<TD class=gridViewItem>
													<s:property value="library.order.user.telephone" />
												</TD>
												<TD class=gridViewItem>
													<s:property value="placeordertime" />
												</TD>
												<TD class=gridViewItem>
													<s:property value="enterprise.name" />
												</TD>
												<TD class=gridViewItem>
													<s:property value="shipmenttime" />
												</TD>
												<TD class=gridViewItem>
													<s:property value="plantime" />
												</TD>
												<TD class=gridViewItem>
													<s:property value="actualtime" />
												</TD>
												<TD class=gridViewItem>
													<s:property value="faaddress" />
												</TD>
												<TD class=gridViewItem>
													<s:property value="shouaddress" />
												</TD>
												<TD class=gridViewItem>
													<s:property value="remarks" />
												</TD>
												<TD class=gridViewItem>	
													<a class=cmdField 
													href="transportAction_gettransport.action?type=gettransportlistto&transport.id=<s:property value="id"/>">修改</a>
												</TD>
												<TD class=gridViewItem>	
													<a class=cmdField 
													href="transportAction_updatetransport.action?type=gettransportlistto&transport.id=<s:property value="id"/>">删除</a>
												</TD>
											</TR>
										</s:iterator>
										<s:if test="bean.list.size==0">
										  <tr>
										      <td>
										     没有找到相关记录!!!!
										      </td>
										  </tr>
										</s:if>
									</TBODY>
									<TR>
										<TD colspan="25" align="right" class=gridViewHeader>
											总共有
											<s:property value="bean.totalitem" />
											条记录 每页
											<s:property value="bean.pagesize" />
											条记录 当前为第
											<s:property value="bean.pageon" />
											页/ 总共有
											<s:property value="bean.totalpage" />
											页
												
											    <a class="a_a" href="transportAction_gettransportlist.action?bean.pageon=1">首页</a>
 											<a class="a_a" href="transportAction_gettransportlist.action?bean.pageon=<s:property value='bean.prep'/>">上一页</a>
   											 <a class="a_a" href="transportAction_gettransportlist.action?bean.pageon=<s:property value='bean.nextp'/>">下一页</a>
  											<a class="a_a" href="transportAction_gettransportlist.action?bean.pageon=<s:property value='bean.totalpage'/>">尾页</a>
												
												
											转到第
											<input type="text" id="page" size="1" />
											页
											<input type="submit" value="Go" class="textbox"
												onclick="javascript:turnpage();" />
										</TD>
									</TR>
								</TABLE>
							</DIV>
						</TD>
						<TD style="BACKGROUND-IMAGE: url(../images/main_rs.gif)"></TD>
					</TR>
					<TR
						style="BACKGROUND-IMAGE: url(../images/main_fs.gif); BACKGROUND-REPEAT: repeat-x"
						height=10>
						<TD style="BACKGROUND-IMAGE: url(../images/main_lf.gif)"></TD>
						<TD style="BACKGROUND-IMAGE: url(../images/main_fs.gif)"></TD>
						<TD style="BACKGROUND-IMAGE: url(../images/main_rf.gif)">
						</TD>
					</TR>
				</TBODY>
			</TABLE>
		</DIV>
  </body>
</html>
